package com.example.plat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.plat.enity.Activity;
import com.example.plat.enity.Schedule;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ScheduleMapper extends BaseMapper<Schedule> {

    List<Activity> getScheduleCard(String sponsor);

    Activity getOneCard(Long actId);

    List<Schedule> getScheduleDetail(Long actId);

    List<Activity> getJoinScheduleCard(Long userId, Integer pageNum, Integer pageSize);

}
